#pragma once

#include "Globals.h"
#include "Button.h"
#include "cData.h"


class Screen
{
public:
	Screen();
	~Screen();

	bool LoadScreen();
	void Draw(int*, int*, int);

	

	bool ButtonActive(Button button, int mx, int my, bool press);
	
	bool waiting();

	void SetScreenAction(int x, int y,bool pressUp);
	void SetScreenDraw(int x, int y, bool pressDown);

	void SetBackAction(int x, int y, bool pressUp);
	void SetBackDraw(int x, int y, bool pressDown);

	bool GetStart();
	bool GetControls();
	bool GetScores();
	bool GetCredits();
	bool GetBack();

private:

	bool m_bstart		=false;
	bool m_bcontrols	=false;
	bool m_bscores		=false;
	bool m_bcredits		=false;
	bool m_bback		=false;

	bool m_waiting		=true;

	bool m_instart		=false;
	bool m_incontrols	=false;
	bool m_inscores		=false;
	bool m_incredits	=false;
	bool m_inback		=false;


	int m_id_DL1, m_id_DL2, m_id_DL3, m_id_DL4;
	
	Button m_start;
	Button m_controls;
	Button m_scores;
	Button m_credits;
	Button m_back;
};

